package com.computerManagementSystem.pojo;

import javax.validation.constraints.Min;

/**
 * @author 赖志宇
 * @date 2020/6/26 23:14
 */
public class BorrowThing {

    private int tid;
    private String id;
    private String state;
    @Min(value = 1)
    private int amount;
    private String startDate;
    private String endDate;
    private String memberName;
    private String itemName;

    public BorrowThing(){

    }


    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public int getTid() {
        return tid;
    }

    public void setTid(int tid) {
        this.tid = tid;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    @Override
    public String toString() {
        return "BorrowThing{" +
                "tid=" + tid +
                ", id='" + id + '\'' +
                ", state='" + state + '\'' +
                ", amount=" + amount +
                ", startDate='" + startDate + '\'' +
                ", endDate='" + endDate + '\'' +
                ", memberName='" + memberName + '\'' +
                ", itenName='" + itemName + '\'' +
                '}';
    }

}
